package com.example.test

import android.os.Bundle
import android.support.v7.app.AppCompatActivity

import com.zee.utils.ZEventBusUtils
import kotlinx.android.synthetic.main.activity_test_b.*

import org.greenrobot.eventbus.Route
import org.greenrobot.eventbus.SubscribeMainThread

@Route(name = "测试B", keyWords = "登录")
class TestBActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_test_b)
        id_activity_B_textView.text=intent.getStringExtra("key");
        ZEventBusUtils.register(this)
    }


    @SubscribeMainThread(tag = "测试代码")
    fun testEventBus(value: Int) {
    }
}
